php forum
php mysql forum
php mysql smarty
 
Page 1 of 3 1 2 3 >
Topic Options
#247128 - 05/20/03 07:56 PM Beta-[6.0-6.1-6.2-6.3] Generic Threads Page
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Mod Name / Version: Generic Threads Page <br /> <br />Description: This is a very basic - generic page which uses threads headers and footers, stylesheet - table wrappers etc.... and allows you to paste your own HTML in the file. <br /> <br />Working Under: UBB.Threads 6.0-6.1-6.2-6.3 <br /> <br />Mod Status: Beta <br /> <br />Any pre-requisites: none <br /> <br />Author(s): JoshPet <br /> <br />Date: 05/20/03 <br /> <br />Credits: I think Wrath posted the first "basic page" here long ago. <br /> <br />Files Altered: none <br /> <br />New Files: generic.php (you can rename this to anything you like - and duplicate it for as many pages as you wish.) <br /> <br />Database Altered: none <br /> <br />Info/Instructions: This is really basic - doesn't use templates. But useful if you wish to quickly make a page of your own, look like UBB.Threads. <br /> <br />Instructions: Edit the page title and path to your UBB Threads install at the top of the generic.php file. Place anywhere on your website. Duplicate and rename the page as needed. <br />Paste your HTML where indicated - near the center of the file. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />If you would prefer a templated version - it's attached here. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Disclaimer: Please backup every file that you intend to modify. <br />If the modification modifies the database, it's a good idea to backup your database before doing so. <br /> <br />Note: If you modify your UBB.Threads code, you may be giving up your right for "official" support from Infopop.If you need official support, you'll need to restore unmodified files. <br /> <br />


Attachments
81311-generic.php.zip (216 downloads)



Edited by JoshPet (05/20/03 08:36 PM)
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247129 - 05/20/03 08:06 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
That's pretty nifty Josh! Will it work with the sidbarpal?

Top
#247130 - 05/20/03 08:08 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
Yup. <img src="/forum/images/graemlins/smile.gif" alt="" /> It will - as it uses the threads headers and footers. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247131 - 05/20/03 08:10 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
<img src="/forum/images/graemlins/yay.gif" alt="" /> <img src="/forum/images/graemlins/waytogo.gif" alt="" />

Top
#247132 - 05/20/03 08:15 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Hmm maybe I should post the one that uses a template system <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br />Nice work Mr. Banana. I think there are about 5 version lying around this forum for this one in various stages of development.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247133 - 05/20/03 08:36 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
OK -<br /><br />Here is a templated version.<br /><br />Instructions: Edit the path and page title at the top of the php file. Rename the file and the template to the name of your choice. <br /><br />In the php file - where it requires the .tmpl file - be sure to edit the name if you've renamed it. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Put your HTML into the tmpl file. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />The php file can be anywhere on your website - the template should be in the /ubbthreads/templates/default directory. <img src="/forum/images/graemlins/smile.gif" alt="" />


Attachments
81320-GenericPageTemplated.zip (159 downloads)

_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247134 - 05/20/03 09:12 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL I knew if I said I would post the template version you would do it <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247135 - 05/20/03 09:13 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: sf49rminer]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
You must know the Jedi Mind Trick!!! <img src="/forum/images/graemlins/bigshock.gif" alt="" />

Top
#247136 - 05/20/03 09:18 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: sf49rminer]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
LOL<br />Wasn't trying to outdo anybody - it just was real quick and simple. <img src="/forum/images/graemlins/smile.gif" alt="" /> Might as well have it available for people who want that as well. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247137 - 05/20/03 09:21 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
Nah Back when Josh first wrote this I put it into a template cause I was big on integration and keeping all my eggs in a row. I knew if I meantioned something Josh would post the template one. Threads moved into using templated systems and so should our hacks.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247138 - 05/20/03 09:26 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: sf49rminer]
DLWebmaestro Offline
Addict

Registered: 08/08/00
Posts: 1802
Loc: North Carolina
Hmmm.... I really should post that hack for fully integrating CafePress into Threads.....<br /><br />(waits for Josh to post it first) <img src="/forum/images/graemlins/wink.gif" alt="" />

Top
#247139 - 05/20/03 09:40 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
LOL You can do that. <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247140 - 05/21/03 02:30 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: eslmix]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
[]AKD96 said:<br />Hmmm.... I really should post that hack for fully integrating CafePress into Threads.....<br /><br />(waits for Josh to post it first) <img src="/forum/images/graemlins/wink.gif" alt="" /> [/]<br /><br />You are not strong enough in the force young padwa to use the scriptor mind trick on a code master like JoshPet... <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#247141 - 05/21/03 05:28 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: jacksonm99]
omegatron Offline
Member

Registered: 04/05/01
Posts: 3440
Loc: abingdon,md
LOL Okay now stop making fun. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />You know if you hint at something Josh is going to do it.
_________________________
Chuck S

DIVE IN AND VISIT ME:

Omegatron\'s Reefs

Administrator at ReefTalk

Top
#247142 - 05/21/03 12:25 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
Zackary Offline
Member

Registered: 03/01/01
Posts: 652
Loc: West Fargo, ND USA
Nice Josh. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Kinda wish I'd had something like this a few months back when I started making my EQ roster addon for threads. <img src="/forum/images/graemlins/wink.gif" alt="" /><br /><br />I made it through though, and I must say, I'll use this template as I start to convert the rest of my site to a "Threads style" format. <img src="/forum/images/graemlins/grin.gif" alt="" /><br /><br />No sense in reinventing the wheel. <img src="/forum/images/graemlins/laugh.gif" alt="" />

Top
#247143 - 05/21/03 11:34 PM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: ]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Is the download in the first post the latest code? <img src="/forum/images/graemlins/tongue.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247144 - 05/22/03 12:33 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: ]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
The first post is the untemplated version - the next post where I attached the file - is a templated version. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />But I link to the templated version in my first post as well. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />For some simple pages - I'm fine without the template - but for more advanced stuff - it's definately nice, and more consistant with threads. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#247145 - 05/22/03 01:01 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Daine]
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
great work on both <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
- Allen wavey
- What Drives You?

Top
#247146 - 05/22/03 05:40 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: SurfMinister]
Ian_W Offline

Veteran

Registered: 02/22/02
Posts: 2575
Loc: England
Just a thought <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Why not add in $user = $userob -> authenticate("U_Groups"); or even the full range for those who use groups, or or other items, so that threads features and benefits flowed through.<br /><br />Great work, and thanks for sharing the mods. <img src="/forum/images/graemlins/laugh.gif" alt="" />
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top
#247147 - 07/06/03 01:52 AM Re: Beta-[6.0-6.1-6.2-6.3] Generic Threads Page [Re: Gorlum]
Calimerion Offline
Newbie

Registered: 07/03/03
Posts: 11
Hello everyone, <br /> <br />I was able to use the generic page. Works really great! <br /> <br />Im running into a little issue though and I do have no idea what may cause that one. <br /> <br />When running the page with my php in it and being already at the forum and going to the link ( This Link ), then everything is ok. <br /> <br />However when not already browsing at the forum and opening the link at a fresh browser window, then I do get the following error message (page displays below the errro fine though - suppose he somehow tries to send the header twice): <br />
Code:
Warning: Cannot add header information - headers already sent by (output started at /home/www/web17/html/dclan/swguser/memberlist/memberlist.php:3) in /home/www/web17/html/dclan/ubbthreads/ubbt.inc.php on line 1749
<br /> <br />In addition I do only get the error message when being looged in (cookies). When accessing the link in a fresh browser without being logged in, the error message does not display. <br /> <br /> <br />Uh. Does anyone have an idea where that might come from? Im left a little clueless. We are running on version 6.3 <br /> <br /> <br />Thanks in advance, <br />Robert

Top
Page 1 of 3 1 2 3 >



Moderator:  Ian_W 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks